package com.sanbi.erp.core.config;

import com.github.houbb.property.annotation.PropertyField;
import com.sanbi.common.config.IntegerValueConverter;
import lombok.Data;

/**
 * @desc 会员配置信息
 * @author wanggang
 * @time 2022/8/3 13:34
 */
@Data
public class UserConfig {
    // 会员介绍
    private String userRuleDesc;

    // 分销二维码描述
    private String qrCode;

    //今日优选折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer best;

    //1星会员分值
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star1Score;
    //1星会员零售折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star1Retail;
    //1星会员批发折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star1Batch;
    //1星会员分销商奖金比例
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star1Broker;
    // 会员描述 列如：青铜会员
    private String start1Name;

    //2星会员分值
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star2Score;
    //2星会员零售折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star2Retail;
    //2星会员批发折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star2Batch;
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star2Broker;
    // 会员描述
    private String start2Name;

    //3星会员分值
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star3Score;
    //3星会员零售折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star3Retail;
    //3星会员批发折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star3Batch;
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star3Broker;
    // 会员描述
    private String start3Name;

    //4星会员分值
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star4Score;
    //4星会员零售折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star4Retail;
    //4星会员批发折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star4Batch;
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star4Broker;
    // 会员描述
    private String start4Name;

    //5星会员分值
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star5Score;
    //5星会员零售折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star5Retail;
    //5星会员批发折扣
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star5Batch;
    @PropertyField(converter = IntegerValueConverter.class)
    private Integer star5Broker;
    // 会员描述
    private String start5Name;

    // 用户会员积分相关描述信息 // xyp
    private String  buy;
    private String  refunds;
    private String  salesReturn;
    private String  scoreBillDesc;

    // 用户分销相关描述信息 // xyp
    private String  dbDiscOne;
    private String  dbDiscTwo;
    private String  dbDiscThree;
    private String  dbDiscFour;
    private String  dbDiscFive;
    private String  dbDiscSix;
    private String  dbDiscSeven;
    private String  dbDiscEight;
    private String  dbDiscNine;

    private String  dbDiscDesc;

    // 用户分销下拉项 // xyp
    private String  dbTypeZero;
    private String  dbTypeOne;
    private String  dbTypeTwo;
    private String  dbTypeThree;
    private String  dbTypeFour;
    private String  dbTypeFive;
    private String  dbTypeSix;
    private String  dbTypeDesc;
    private String  dbTypeSeven;
    private String  dbTypeEight;
    private String  dbTypeNine;

}
